package com.honglei.sunhl;

import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @author sunhl
 * @Package ${package_name}
 * @Description: ${todo}(用一句话描述该文件做什么)
 * @date ${date} ${time}&#13;
 * Copyright ,YYYY-YYYY,All rights reserved
 */
@Controller
@EnableAutoConfiguration
public class HelloController {
    @RequestMapping("/sayHello")
    @ResponseBody
    public String sayHello(){
        return "hello world";
    }
}
